// 轮播图接口返回值类型
export interface RecommendBannerItem {
  imageUrl: string;
  scm: string;
}

export type RecommendBannerList = RecommendBannerItem[];

export interface GetRecommendBannerResponse {
  banners: RecommendBannerList;
  code: number;
}

// 热门推荐歌单接口返回值类型
export interface HotRecommendItem {
  id: 2411629173;
  name: "温柔英文歌-睡觉专用";
  picUrl: "https://p1.music.126.net/kekg-DZw8y88nwhV8DUm8Q==/109951163540109251.jpg";
}

export type HotRecommendList = HotRecommendItem[];

export interface GetHotRecommendResponse {
  hasTaste: boolean;
  code: number;
  category: number;
  result: HotRecommendList;
}

// 热门推荐标签接口返回值类型
export interface HotRecommendTagItem {
  name: "华语";
  id: 5001;
}

export type HotRecommendTagList = HotRecommendTagItem[];

export interface GetHotRecommendTagResponse {
  tags: HotRecommendTagList;
  code: number;
}

// 新碟上架接口返回值类型
export interface Artist {
  name: "The 1975";
  id: 104457;
}

export interface WeekDataItem {
  picUrl: string;
  artist: Artist;
  name: string;
  id: number;
}

export type WeekDataList = WeekDataItem[];

export interface GetNewAlbumResponse {
  weekData: WeekDataList;
  hasMore: boolean;
  monthData: WeekDataList;
  code: number;
}

//获取榜单接口返回值类型
export interface TracksItem {
  name: string;
  id: number;
}

export type TracksList = TracksItem[];

export interface Playlist {
  id: number;
  name: string;
  coverImgUrl: string;
  tracks: TracksList;
}

export interface GetRankingListResponse {
  code: number;
  relatedVideos: null;
  playlist: Playlist;
  urls: null;
  privileges: any;
  sharedPrivilege: null;
  resEntrance: null;
}

//获取歌手列表返回值数据类型
export interface ArtistsItem {
  name: string;
  id: number;
  picUrl: string;
}

export type ArtistsList = ArtistsItem[];

export interface GetSingerListResponse {
  code: number;
  more: boolean;
  artists: ArtistsList;
}
